#define _CRT_SECURE_NO_WARNINGS 1

#include "SingleList.h"

void test01()
{
	SLTNode* plist = NULL;
	SLPushBack(&plist, 1);
	SLPushBack(&plist, 2);
	SLPushBack(&plist, 3);

	SLPushBack(&plist, 4);
	SLPrint(plist);

	SLPushFront(&plist, 10);
	SLPushFront(&plist, 20);
	SLPushFront(&plist, 30);

	SLPopBack(&plist);
	SLPrint(plist);
	SLPopBack(&plist);
	SLPrint(plist);
	SLPopBack(&plist);
	SLPrint(plist);
	SLPopBack(&plist);
	SLPrint(plist);
}

int main()
{
	test01();
	return 0;
}